Skip to content

Instantly share code, notes, and snippets.

@ClassicOldSong
ClassicOldSong / youtube_tv_installer.sh
Last active May 29, 2026 20:49
YouTube TV Installer for SteamDeck with uBlock and SponsorBlock
#!/usr/bin/env bash
set -euo pipefail
# ─── PREREQUISITES ────────────────────────────────────────────────────────────
# 1) Ensure flatpak is available
if ! command -v flatpak >/dev/null 2>&1; then
echo "Error: flatpak is not installed. Please install flatpak and try again."
exit 1
fi

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@jstnlvns
jstnlvns / git: gitignore.md
Created November 16, 2018 19:42
a gitignore cheatsheet

Git sees every file in your working copy as one of three things:

  1. tracked - a file which has been previously staged or committed;
  2. untracked - a file which has not been staged or committed; or
  3. ignored - a file which Git has been explicitly told to ignore.

Ignored files are usually build artifacts and machine generated files that can be derived from your repository source or should otherwise not be committed. Some common examples are:

  • dependency caches, such as the contents of /node_modules or /packages
  • compiled code, such as .o, .pyc, and .class files
@nickhilster
nickhilster / Awesome Copilot Repo Onboarding Agent.md
Created May 29, 2026 20:39
Awesome Copilot Repo Onboarding Agent

Awesome Copilot Repo Onboarding Agent

A reusable workflow for helping an AI agent evaluate a repository, inspect the available Awesome Copilot agents, skills, and instructions, and install only the assets that are useful, safe, and relevant to the repo.

This file is intended to be shared with an AI coding agent inside VS Code.


Objective

@fweller
fweller / apple_silicon_mac_smb_performance_improvements.md
Last active May 29, 2026 20:41
How I fixed slow NAS SMB access on my Apple-silicon Mac

How I fixed slow NAS SMB access on my Apple-silicon Mac

Last updated: 20251123


Problem

  • SMB performance on Apple Silicon Macs (M1/M2/M3/M4) is often dramatically slower compared to Intel-based Macs or Linux/Windows PCs.
  • This is an extremely common issue with other users employing Synology, TrueNAS, or Linux Samba.
@druskus20
druskus20 / compiletime-builder.md
Last active May 29, 2026 20:38
A compile-time checked builder pattern for Rust

Compile time checked builder pattern

Often times we want to verify that an object is fully built before using it. In many cases, this is done at runtime, in some sort of build() method. This is an implementation that verifies completeness using generics at compile time.

/*
 * A builder pattern that checks if every field is set before building at compile-time.
 * This means, no runtime checks, if it compiles, it's fully initialized. Thus, there's no
 * overhead of checking if the struct is valid.
 *
 * (It comes at the cost of being a bit verbose, though ergonomics could be improved with a
@StanSwanborn
StanSwanborn / FSEconomy_on_linux.md
Last active May 29, 2026 20:30
Run FSEconomy FSUIPC Client on Linux with MSFS24
  1. Make sure your MSFS24 Install on Linux is running well - have at least 1 startup done. I personally ran MSFS24 through proton-10.0-4 (the Steam version).

  2. After running, verify the MSFS24 compatdata exists MSFS24 Steam App ID should be: 2537590

Run:

ls ~/.steam/steam/steamapps/compatdata/2537590